package com.laxcen.smoke.service;

import com.github.pagehelper.PageInfo;
import com.laxcen.smoke.dto.res.OrderAllListRes;
import com.laxcen.smoke.dto.res.OrderListRes;
import com.laxcen.smoke.util.Response;

import java.text.ParseException;

public interface OrderService {

    Response<PageInfo<OrderAllListRes>> getOrderList(int pageNo, int pageSize, int roleflag, String province, String city, String area);

    Response<OrderListRes> getOrderDeatilList(String orderno);

    Response update(String id, int opresult, String remark);

    Response<PageInfo<OrderAllListRes>> getTabList(String searchtext, String starttime, String endtime, int roleflag, String province, String city, String area, int pageNo, int pageSize) throws ParseException;

    Response closeDoor(String id, String username, String smartno, String boxno, String orderno);

}
